import requests

# l = ["001", "002", "003"]
#
# for i in l:
#     url = "http://localhost:8080/scenic/olap?scenicId=$1&dayId=20180503&colName=gender"
#     url = url.replace("$1", i)
#     re = requests.get(url=url)
#
#     print(re.text)

import json
import time

result = requests.get("https://m.weibo.cn/comments/hotflow?id=4543155893178941&mid=4543155893178941&max_id_type=0")
jsonObj = json.loads(result.text)

for line in jsonObj["data"]["data"]:
    print(line["text"])

    time.sleep(1000)
